package com.diet.system.domain;

import com.diet.common.annotation.Excel;
import com.diet.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 菜品对象 dish
 */
public class Dish extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 菜品ID */
    private Long dishId;

    /** 菜品名称 */
    @Excel(name = "菜品名称")
    private String dishName;

    /** 菜系 */
    @Excel(name = "菜系")
    private String cuisine;

    /** 口味 */
    @Excel(name = "口味")
    private String taste;

    /** 烹饪方法 */
    @Excel(name = "烹饪方法")
    private String cookingMethod;

    /** 功效 */
//    @Excel(name = "功效")
//    private String efficacy;
//
//    /** 食材 */
//    @Excel(name = "食材")
//    private String ingredients;

    /** 热量 */
    @Excel(name = "热量")
    private Double calories;
    /** 蛋白质 */
    @Excel(name = "蛋白质")
    private Double protein;

    /** 脂肪 */
    @Excel(name = "脂肪")
    private Double fat;

    /** 碳水化合物 */
    @Excel(name = "碳水化合物")
    private Double carbohydrate;

    /** 纤维 */
    @Excel(name = "纤维")
    private Double fiber;
    /** 制作步骤 */
    @Excel(name = "制作步骤")
    private String cookingSteps;

    /** 评分 */
    @Excel(name = "评分")
    private Double rating;

    /** 收藏数 */
    @Excel(name = "收藏数")
    private Long favoriteCount;

    /** 图片地址 */
    @Excel(name = "图片地址")
    private String imageUrl;

    public Double getFiber() {
        return fiber;
    }

    public void setFiber(Double fiber) {
        this.fiber = fiber;
    }

    public Double getCarbohydrate() {
        return carbohydrate;
    }

    public void setCarbohydrate(Double carbohydrate) {
        this.carbohydrate = carbohydrate;
    }

    public Double getFat() {
        return fat;
    }

    public void setFat(Double fat) {
        this.fat = fat;
    }

    public Double getProtein() {
        return protein;
    }

    public void setProtein(Double protein) {
        this.protein = protein;
    }

    public Double getCalories() {
        return calories;
    }

    public void setCalories(Double calories) {
        this.calories = calories;
    }

//    public String getIngredients() {
//        return ingredients;
//    }
//
//    public void setIngredients(String ingredients) {
//        this.ingredients = ingredients;
//    }
//
//    public String getEfficacy() {
//        return efficacy;
//    }
//
//    public void setEfficacy(String efficacy) {
//        this.efficacy = efficacy;
//    }


    public void setDishId(Long dishId) 
    {
        this.dishId = dishId;
    }

    public Long getDishId() 
    {
        return dishId;
    }

    public void setDishName(String dishName) 
    {
        this.dishName = dishName;
    }

    public String getDishName() 
    {
        return dishName;
    }

    public void setCuisine(String cuisine) 
    {
        this.cuisine = cuisine;
    }

    public String getCuisine() 
    {
        return cuisine;
    }

    public void setTaste(String taste) 
    {
        this.taste = taste;
    }

    public String getTaste() 
    {
        return taste;
    }

    public void setCookingMethod(String cookingMethod) 
    {
        this.cookingMethod = cookingMethod;
    }

    public String getCookingMethod() 
    {
        return cookingMethod;
    }

//    public void setEfficacy(String efficacy)
//    {
//        this.efficacy = efficacy;
//    }

//    public String getEfficacy()
//    {
//        return efficacy;
//    }

//    public void setIngredients(String ingredients)
//    {
//        this.ingredients = ingredients;
//    }
//
//    public String getIngredients()
//    {
//        return ingredients;
//    }

    public void setCookingSteps(String cookingSteps) 
    {
        this.cookingSteps = cookingSteps;
    }

    public String getCookingSteps() 
    {
        return cookingSteps;
    }

    public void setRating(Double rating) 
    {
        this.rating = rating;
    }

    public Double getRating() 
    {
        return rating;
    }

    public void setFavoriteCount(Long favoriteCount) 
    {
        this.favoriteCount = favoriteCount;
    }

    public Long getFavoriteCount() 
    {
        return favoriteCount;
    }

    public void setImageUrl(String imageUrl) 
    {
        this.imageUrl = imageUrl;
    }

    public String getImageUrl() 
    {
        return imageUrl;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("dishId", getDishId())
            .append("dishName", getDishName())
            .append("cuisine", getCuisine())
            .append("taste", getTaste())
            .append("cookingMethod", getCookingMethod())
//            .append("efficacy", getEfficacy())
//            .append("ingredients", getIngredients())
            .append("cookingSteps", getCookingSteps())
            .append("rating", getRating())
            .append("favoriteCount", getFavoriteCount())
            .append("imageUrl", getImageUrl())
            .append("createTime", getCreateTime())
            .toString();
    }
}